package com.patent.dao;

import com.patent.domain.po.ChangeRecord;
import com.patent.domain.vo.ChangeInfoResponseVo;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface ChangeRecordMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ChangeRecord record);

    int insertSelective(ChangeRecord record);

    ChangeRecord selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ChangeRecord record);

	/**
	 * 查著录项变更的记录
	 */
	List<ChangeInfoResponseVo> queryChangeInfo(Map<String,Object> map);

	/**
	 * 通过订单号查著录项变更信息
	 */
	ChangeRecord queryByOrderNo(String orderNo);
}